package top.itpath.admin.dto;

import lombok.Data;
import top.itpath.admin.entity.SysRole;

import java.io.Serializable;
import java.util.List;
import java.util.Set;

/**
 * @author zhaomengru
 * @time 2023/10/11 - 21:42
 */
@Data
public class UserInfo implements Serializable {

    private Long id;

    private String username;

    private List<SysRole> roles;

    private Set<String> permissions;
}
